y = int(input("Please input the year:"))
if y % 4 == 0 and y % 100 != 0 or y % 400 == 0:
    print(y, "年是闰年", sep = '')
else:
    print(y, "年不是闰年", sep = '')
